<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Vue-test</title>
    <script src="../common/vue/vue.js"></script>

</head>
<body>
    <todo-item id="test"></todo-item>

    <script>
        Vue.component('todo-item', {
            template: '<h1>This is a todo</h1>'
        })

        new Vue({
            el:'#test'
        })
    </script>
</body>

</html>